home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
utils
/
last21.arj
/
DEM.LAS
< prev
next >
Wrap
Text File
|
1992-09-05
|
14KB
|
559 lines
videoback red
videofore brightwhite
* videoback white
* videofore black
load "last.exe"
Go "%1"
call waitdot
call lowbox
screen 21 1 "LAST has read all files on drive C: and sorted them in chronological order. "
screen 22 1 "The file most recently modified appears first. This is the last work you did."
screen 24 28 "To continue, press <Enter>."
call getanykey
call lowbox
screen 21 3 "You can change which file is highlighted by pressing PgDn, PgUp, cursor "
screen 22 3 "arrows, <End> and <Home>."
screen 24 0 " Press PgDn to highlight the file on the bottom of the screen."
call dopgdn
call waitdot
screen 22 0 " "
screen 23 0 " Press PgDn again to see more files. "
screen 24 0 " "
call dopgdn
call waitdot
screen 22 0 " "
screen 23 0 " Press the Home key to move to the top of the list. "
screen 24 0 " "
call homekey
call waitdot
call lowbox
screen 20 3 "LAST allows you to view, search, move, delete, tag, copy, sort, and rename"
screen 21 3 "files. Let's start with Copy. Before using the Copy function, we need to
screen 22 3 "tell LAST which floppy drive to copy to."
screen 24 25 "Press S to go to the Setup."
call dosetup
waitscreen 18 12 "I"
call lowbox
screen 21 3 "The Setup Screen allows you to change LAST's parameters. Right now we are"
screen 22 3 "concerned with the Floppy Drive parameter."
screen 24 1 " Press the down arrow twice."
call dodown
call dodown
waitscreen 17 16 "ending"
call lowbox
screen 21 7 "Type the letter of the floppy drive you wish to copy to. Type A:."
screen 23 1 " Press the <Enter> key to return to the list of files."
call dofloppy
call redraw
screen 22 0 " "
screen 23 0 " Press C to copy the highlighted file to your floppy disk. "
screen 24 0 " "
call docopy
call redraw
call lowbox
Screen 21 20 " We will now narrow down the list of files."
Screen 23 20 "Press F to go to the File Specification Screen."
call dofilespec
waitscreen 20 8 "F"
call lowbox
screen 21 3 "A File Specification is any combination of drive, directory and filename."
screen 22 3 "Let's select all batch files on drive C:."
screen 24 26 ^Type "C:*.BAT" and press <Enter>.
call dountilcr
call redraw
call lowbox
screen 21 1 "As you may have noticed, LAST's commands are invoked with only one keystroke."
screen 22 1 "The Help Screen summarizes the commands available to you."
screen 24 20 "Press H or F1 to see the Help Screen."
call dohelp
waitscreen 0 9 "("
call lowbox
screen 21 3 "This summary is a handy way to view all of LAST's commands. Part of the"
screen 22 3 "Help Screen is obscured by the Demo."
screen 24 1 " Press <Esc> to return to the list of files."
call doesc
call redraw
call lowbox
screen 21 9 "LAST's manual provides a detailed description of LAST's operation."
screen 23 24 "Press R to read LAST's manual."
call doread
waitscreen 0 9 "("
call lowbox
screen 21 1 "This is the beginning of the manual. You can search the manual for any string"
screen 22 1 ^of text. We will search for "STARTUP".
screen 24 36 "Press S."
call dosetup
waitscreen 6 12 "Search"
call lowbox
screen 22 23 ^Type "STARTUP" and press <Enter>.
call dountilcr
waitscreen 22 33 "Prof"
call lowbox
screen 21 3 ^The top of the screen shows the first occurrence of "STARTUP". You can
screen 22 3 "repeat the search by pressing the + key."
screen 24 36 "Press +."
call doplus
waitscreen 22 37 "Setup"
call lowbox
screen 21 13 "Notice how easy it is to access and search LAST's manual."
screen 23 1 " Press <Esc> to return to the list of files."
call doesc
call redraw
call lowbox
screen 21 17 "The next step is to view the highlighted file."
screen 23 32 "Press <Enter>."
call doenter
waitscreen 0 9 "("
call lowbox
screen 20 3 "This is the highlighted file. LAST allows you to see the highlighted file"
screen 21 3 "using the four cursor arrows, PgUp, PgDn, End, and Home keys. Right now"
screen 22 3 "we will demonstrate LAST's ability to search multiple files."
screen 24 36 "Press S."
call dosetup
waitscreen 6 12 "Search"
call lowbox
screen 21 3 "Let's search for something that surely doesn't exist in your batch files."
screen 23 12 ^Type: "This DEMO is helpful." and press the <Enter> key.
call dountilcr
waitscreen 8 18 "Press"
call lowbox
screen 21 3 "If LAST found the string, LAST would display its location. Since it did not"
screen 22 3 "find the string, it asks to continue the search."
screen 24 31 "Press <Enter>."
call doenter
waitscreen 8 26 "Press"
call lowbox
screen 21 13 "LAST did not find the string in any of the files."
screen 23 31 "Press <Enter>."
call doenter
call lowbox
screen 22 20 "Press Home to move to the top of the list."
call homekey
call redraw
call lowbox
screen 21 26 "Next let's try the tag function."
screen 23 36 "Press T."
call dotag
key "[Shift][F10]"
call waitdot
call lowbox
screen 21 1 " Notice the check mark next to the first filename."
screen 23 24 "Press T again to tag the 2nd file."
call dotag
key "[Shift][F10]"
call waitdot
call lowbox
screen 22 1 " Press C to copy the tagged files to your floppy disk. "
call docopy
call redraw
call lowbox
screen 21 8 "Now let's look at your floppy drive to see the files we just copied."
screen 23 36 "Press F."
call dofilespec
waitscreen 20 8 "F"
call lowbox
screen 22 24^Type "A:*.BAT" and press <Enter>.
call dountilcr
call redraw
pause 5 t
call lowbox
screen 21 27 "Next we will rename a file."
screen 23 36 "Press N.
call doname
pause 5 t
key "[Shift][F10]"
call lowbox
screen 21 20 "Enter a new name for the highlighted file."
screen 23 31 "Then press <Enter>."
call dountilcr
call redraw
call lowbox
screen 21 21 "Now delete the two files we just copied."
screen 23 32 "Press Ctrl D."
call dodelete
key "[Shift][F10]"
call waitdot
call lowbox
screen 22 25 "Now press Ctrl D again."
call dodelete
key "[Shift][F10]"
call waitdot
call lowbox
screen 21 26 "Now let's go back to drive C:."
screen 23 36 "Press F."
call dofilespec
waitscreen 20 8 "F"
pause 2 t
call lowbox
screen 21 22 "Press the F5 key to erase the File Spec."
screen 23 26 ^Then type "C:" and press <Enter>.
call dountilcr
call redraw
call lowbox
screen 21 14 "You can sort the files in order of name, size, or date."
screen 23 23 "Press Alt N to sort the files by name."
call doaltn
call redraw
call lowbox
screen 21 22 "The files are now in alphabetical order."
screen 23 22 "Press Home to see the beginning entries."
call homekey
call redraw
call lowbox
screen 21 15 "Next let's look at the directory tree of drive C:."
screen 23 30 "Press the spacebar."
call dospacebar
waitscreen 24 23 "Press"
call lowbox
screen 21 3 "The Directory Menu allows you to select a directory with one key. Or use"
screen 22 3 "the arrows, PgDn, PgUp, Home and End keys to select a directory."
screen 24 35 "Press <Esc>.
call doesc
call redraw
call lowbox
screen 21 20 "Let's look at another Directory Tree style."
screen 23 36 "Press B."
call dobytes
waitscreen 24 29 "<Enter>"
call lowbox
screen 21 1 "The B (bytes) display shows the number of bytes used in each directory. The"
screen 22 1 "totals on the left include subdirectories. The right excludes subdirectories."
screen 24 35 "Press <Esc>.
call doesc
call redraw
call lowbox
screen 21 20 "LAST provides a handy way to go to DOS."
screen 23 36 "Press G."
call dogotodos
waitscreen 21 7 "Default"
pause 2 t
call lowbox
screen 21 3 "This dialog box is provided so you can perform DOS commands. After the "
screen 22 3 "command is performed, you will come right back to LAST."
screen 24 18 "Type CHKDSK C: and press the <Enter> key."
call dountilcr
waitscreen 7 7 "Press"
call lowbox
screen 22 36 "Press N."
call doname
call redraw
call lowbox
screen 21 15 "You can also use function keys to operate LAST."
screen 23 36 "Press K."
call dokeys
waitscreen 21 19 "Valid"
pause 2 t
call lowbox
screen 20 3 "When you press any function key, LAST acts as though you had pressed the"
screen 21 3 "key assigned to it. You can change the function key assignments using"
screen 22 3 "this screen."
screen 23 30 "Press <Enter>."
call getanykey
key "[Enter]"
call redraw
call lowbox
screen 20 1 "One very useful feature of LAST which can't be included in the demo is the"
screen 21 1 "Launch. The L key launches the highlighted file into an application program"
screen 22 1 "you've assigned in Setup. "
screen 24 31 "Press <Enter>."
call getanykey
key "[Shift][F10]"
call redraw
call lowbox
screen 21 2 "We will not explore other useful functions, such as split-screen viewing, "
screen 22 2 "moving, and executing. Please refer to the manual for details."
screen 24 31 "Press <Enter>."
call getanykey
key "[Shift][F10]"
call redraw
SCREEN 5 0 " "
sCREEN 6 0 " This concludes the DEMO. "
SCREEN 7 0 " "
SCREEN 8 0 " To start LAST: At the C: prompt, type LAST and press <Enter>. "
SCREEN 9 0 " "
SCREEN 10 0 " Press <Enter> to go to DOS. "
SCREEN 11 0 " "
call getanykey
key "[Alt]Q"
quit
label dotag
getkey
call done
ifkey "tT"
else
jump dotag
endif
passkey
return
label redraw
waitscreen 4 36 ":"
key "[Shift][F9]"
key "[Shift][F10]"
call waitdot
return
label dogotodos
getkey
call done
ifkey "gG"
else
jump dogotodos
endif
passkey
return
label dobytes
getkey
call done
ifkey "bB"
else
jump dobytes
endif
passkey
return
label doaltn
getkey
call done
ifkey "[Alt][N]"
else
jump doaltn
endif
passkey
return
label dospacebar
getkey
call done
ifkey " "
else
jump dospacebar
endif
passkey
return
label dodelete
getkey
call done
ifkey "[Ctrl][D]"
else
jump dodelete
endif
passkey
return
label waitdot
WaitScreen 0 79 "."
key "[Shift][F9]"
return
label doname
getkey
call done
ifkey "nN"
else
jump doname
endif
passkey
return
label doview
getkey
call done
ifkey "vV"
else
jump doview
endif
passkey
return
label doplus
getkey
call done
ifkey "+"
else
jump doplus
endif
passkey
return
label homekey
getkey
call done
ifkey "[Home]"
else
jump homekey
endif
key "[Shift][F10]"
passkey
return
label getanykey
getkey
call done
return
label dountilcr
getkey
call done
ifkey "[Enter]
passkey
return
else
passkey
endif
jump dountilcr
label dofilespec
getkey
call done
ifkey "fF"
else
jump dofilespec
endif
key "[Shift][F10]"
passkey
return
label dofloppy
getkey
call done
ifkey "abAB:"
passkey
endif
ifkey "[Enter]"
passkey
return
endif
jump dofloppy
label dodown
getkey
call done
ifkey "[Down]"
passkey
return
endif
jump dodown
label dosetup
getkey
call done
ifkey "sS"
else
jump dosetup
endif
key "[Shift][F10]"
passkey
return
label docopy
getkey
call done
ifkey "cC"
passkey
return
else
passkey
endif
jump docopy
label doread
getkey
call done
ifkey "rR"
else
jump doread
endif
key "[Shift][F10]"
passkey
return
label dokeys
getkey
call done
ifkey "kK"
else
jump dokeys
endif
passkey
return
label dohelp
getkey
call done
ifkey "Hh[F1]"
key "[Shift][F10]"
passkey
return
endif
jump dohelp
label doesc
getkey
call done
ifkey "[Esc]"
else
jump doesc
endif
key "[Shift][F10]"
passkey
return
label doenter
getkey
call done
ifkey "[Enter]"
else
jump doenter
endif
key "[Shift][F10]"
passkey
return
label dopgdn
getkey
call done
ifkey "[PgDn]"
else
jump dopgdn
endif
key "[Shift][F10]"
passkey
return
label lowbox
pause 3 t
SCREEN 20 0 " "
SCREEN 21 0 " "
SCREEN 22 0 " "
SCREEN 23 0 " "
SCREEN 24 0 " "
return
label done
ifkey "[Alt][Q]"
wipe
killchild
quit
endif
return